package br.usp.pcs.basys2.event;

import br.usp.pcs.basys2.BasysProcess;
import br.usp.pcs.basys2.info.FileActivityInfo;

public class InterruptionForFileActivityException extends Exception {
	
	private BasysProcess process;
	private Integer timeToWait;
	private FileActivityInfo info;

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;


	public InterruptionForFileActivityException(BasysProcess basysProcess,
			Integer time, FileActivityInfo info) {
		this.process = basysProcess;
		this.timeToWait = time;
		this.info = info;
	}

	public long getTimeToWait() {
		return timeToWait;
	}

	public BasysProcess getProcess() {
		return process;
	}

	public FileActivityInfo getFileActivityInfo() {
		return info;
	}

	

	

}
